package com.example.mydesignmodule.qiaojie2;

/**
 * @author tgw
 * @date 2021/3/12
 * @describe
 */
 class SmallCoffee extends Coffee{

    public SmallCoffee(CoffeeType coffeeType) {
        this.coffeeType = coffeeType;
    }

    @Override
    void makeCoffee() {
        System.out.print("小杯coffee");
        coffeeType.doSomething();
    }
}
